package com.feicheng.lanniao.controller.pc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.feicheng.lanniao.entity.HouseSellPrice;
import com.feicheng.lanniao.result.ResultInfo;
import com.feicheng.lanniao.service.IHouseSellPriceService;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author feichengTech
 * @since 2021-09-02
 */
@RestController
@RequestMapping("/lanniao-user/house-sell-price")
public class HouseSellPricePcController {

	@Autowired
	private IHouseSellPriceService iHouseSellPriceService;
	/**
	 * 查询价格区间集合
	 * @return 价格区间集合
	 */
	@GetMapping("/list")
	public ResultInfo getList() {
		return iHouseSellPriceService.getSellPriceList();
	}
}
